package io.renren.modules.biz.service;

import com.baomidou.mybatisplus.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.biz.entity.TokenEntity;

import java.util.Map;

/**
 * 用户Token
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-09-03 14:51:31
 */
public interface TokenService extends IService<TokenEntity> {

	PageUtils queryPage(Map<String, Object> params);

	/**
	 * 设置token过期
	 * 
	 * @param userId
	 *            用户ID
	 */
	void expireToken(long userId);
}
